import axios from "@/utils/request.js"


// 商家评论列表
export const ratings = (id, params) => axios({
    url: `ugc/v2/restaurants/${id}/ratings`,
    method: 'get',
    params
})

//评论分类
export const getcommentType = (id) => axios({
    url: `/ugc/v2/restaurants/${id}/ratings/tags`,
    method: 'get',

})